package com.dd.cloud.user.req.classroom;

import com.dd.cloud.common.vo.ValidList;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 媒体小节说明表
 * </p>
 *
 * @author czg
 * @since 2022-04-27
 */
@Data
public class UploadMediaContentReq implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 小节id
     */
    @NotNull(message = "小节id不能为空")
    private Integer sectionId;

    /**
     * 是否为验证参数请求 1上传文件的正式请求, 0验证参数的请求
     */
    private Integer vaild = 0;

    /**
     *
     */
    @NotNull(message = "视频列表不能为空")
    private ValidList<UploadMediaContentListReq> mediaList;
}